package com.levy.authserver;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.oauth2.provider.token.TokenStore;
import org.springframework.security.oauth2.provider.token.store.InMemoryTokenStore;

/**
 * @author levy
 */
@Configuration
public class TokenConfig {

  @Bean
  TokenStore tokenStore() {
    return new InMemoryTokenStore();
  }

}
